#if !defined(AFX_BUTTONSTATIC_H__336C2735_A999_4BF8_A431_A088A73E2AA1__INCLUDED_)
#define AFX_BUTTONSTATIC_H__336C2735_A999_4BF8_A431_A088A73E2AA1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ButtonStatic.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CButtonStatic window

class CButtonStatic : public CStatic
{
// Construction
public:
	CButtonStatic();

// Attributes
private:
  CToolTipCtrl m_tooltip;
  CBitmap * m_pBitmapDown;
  CBitmap * m_pBitmapUp;
  bool m_bCheck;
  bool m_bCanChecked;

// Operations
public:
  bool LoadBitmaps(UINT nIDBitmapResource, UINT nIDBitmapResourceChecked, bool bCanChecked = false);
  bool LoadBitmaps(LPCTSTR lpszBitmapResource, LPCTSTR lpszBitmapResourceChecked, bool bCanChecked = false);
  bool IsButtonChecked() const {return m_bCheck;}
  void CheckButton(bool bCheck = true);
  void SetToolTip(LPCTSTR lpszToolTip);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CButtonStatic)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CButtonStatic();

	// Generated message map functions
protected:
	//{{AFX_MSG(CButtonStatic)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BUTTONSTATIC_H__336C2735_A999_4BF8_A431_A088A73E2AA1__INCLUDED_)
